Dates
Previous  Top  Next



^$GetDate(Date Mask)$

Returns current date/time formatted according to the
date mask.

For example:

This message was written ^$GetDate(mm/dd/yyyy)$  

Pasting it in a document will produce the following text (assuming the date is August 31, 1999):

This message was written 08/31/1999  



Old syntax prior to NoteTab 4.51:

Note that since NoteTab 4.8, the old format will not work if the expression is built from the values of variables and functions. You should use the ^$GetDate(mm/dd/yyyy)$ function instead.

If you want to use date/time filters in a Clip, use ^[ and ^] to delimit the filter element of the Clip text. For example, if you add the following text to the Clip:

This message was written ^[mm/dd/yyyy^]  

Pasting it in a document will produce the following text (assuming the date is August 31, 1999):

This message was written 08/31/1999